// -*-c#-*-
// License: New BSD License : http://www.opensource.org/licenses/bsd-license.php
//
// Copyright (c) 2008, Brothers In Arms/Burl Nyswonger
//
// See: BiaVote.uc for full License
// 
//@L

class BiaVoteFauxVoteCollector extends UTVoteCollector;

`include( BiaVote/Classes/BiaStdInc.uci )

auto state MyAutoState {
    function BeginState( name PrevState )
    {
        ClearTimer();
        bVoteDecided = true;
        GotoState('');
        `BiaDbg("Set up faux-votecollector");
    }
}

function TimesUp()
{
    `BiaDbg("setting bVoteDecided to True");
    bVoteDecided = true;
}

function Initialize( array<string> MapList )
{
    `BiaDbg("------------ Doing zilch... -------------");
}

function string GetWinningMap()
{
    local string mapWin;
    `BiaDbg("Finding winning map");
    mapWin = class'BiaVote.BiaVote'.static.GetWinningMap();
    `BiaLog("Map that won the vote was: " $ mapWin );
    return mapWin;
}
